package com.xxxx.mytest.jihe.arraytest

/**
 * @program: day0303
 * @description: 尽信书，则不如无书
 * @author: CoreDao
 * @create: 2021-03-03 10:35
 **/

object Arrayfuns {
  def main(args: Array[String]): Unit = {

    val arr1 = Array("1", "2", "3")
    val arr2 = Array("4", "2", "3")
    val arr3 = Array.concat(arr1, arr2)
    arr3.foreach(println)
    Array.fill(5){
      3
    }.foreach(println)

  }
}
